import ala from '@/service/ala'
var mixin = {
  data () {
    return {

    }
  },
  methods: {
    // 链接跳转
    to (url, nativePath = null) {
      ala.to(url, nativePath)
    },
    // 处理图片地址
    urlImage (url) {
      return ala.urlImage(url)
    },
    isLogin () {
      ala.userCheckLogin()
      if (ala.userIsLogin()) {
        return true
      }
      return false
    }
  },
  mounted () {

  }
}


export default mixin
